define(['config'],()=>{
    require(['jquery'],()=>{
        class Header{
            constructor(){
                this.Oinput = document.getElementById("Oinput");
                this.Oul = document.getElementById("Oul");
                this.loadHtml()
                this.search()
            }
            loadHtml(){
                
                $('header').load('/html/includes/header.html',()=>{
                    $('.cart').on('click',()=>{
                       location.href='/html/cart.html'
                    })
                })
            }
            search(){
                
            }
        }
        return new Header()
        new List()
        document.getElementById("myDIV").onscroll = function() {myFunction()};
    })
})